<template>

  <el-row class="tac">
    <el-col :span="24">
      <el-menu
          router
          default-active="/student"
          class="el-menu-vertical-demo"
      >
        <el-sub-menu index="1">
          <template #title>
            <el-icon><Location /></el-icon>
            <span>学生管理</span>
          </template>
            <el-menu-item index="/student">
              <el-icon><Menu /></el-icon>
              <span>学生列表</span>
            </el-menu-item>
            <el-menu-item index="/about">
              <el-icon><Menu /></el-icon>
              <span>测试</span>
            </el-menu-item>
        </el-sub-menu>


        <el-sub-menu index="1">
          <template #title>
            <el-icon><Setting /></el-icon>
            <span>系统管理</span>
          </template>
          <el-menu-item-group>
            <el-menu-item index="1-1">
              <el-icon><Menu /></el-icon>
              <span>系统展示</span>
            </el-menu-item>
            <el-menu-item index="/about">
              <el-icon><Menu /></el-icon>
              <span>测试</span>
            </el-menu-item>
          </el-menu-item-group>
        </el-sub-menu>
      </el-menu>
    </el-col>
  </el-row>

</template>

<script>
import {Location,Setting,Menu} from '@element-plus/icons-vue'

export default {
  name: "AsideView",
  components:{
    Location,
    Setting,
    Menu
  }
}
</script>

<style scoped>

</style>